package com.ruoyi.zhmk.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人员请假审核对象 zhmk_check
 * 
 * @author sxl
 * @date 2021-06-15
 */
public class ZhmkCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 审核ID */
    private Long checkId;

    /** 请假ID */
    @Excel(name = "请假ID")
    private Long askId;

    /** 请假人员ID */
    @Excel(name = "请假人员ID")
    private Long zhmkUserId;

    /** 请假事由 */
    @Excel(name = "请假事由")
    private String reason;

    /** 审核用户ID */
    @Excel(name = "审核用户ID")
    private Long userId;

    /** 移交状态（0未审核 1转移中 2已审核） */
    @Excel(name = "移交状态", readConverterExp = "0=未审核,1=转移中,2=已审核")
    private String turnStatus;

    /** 审核状态（1一级审核 2二级审核 3三级审核） */
    @Excel(name = "审核状态", readConverterExp = "1=一级审核,2=二级审核,3=三级审核")
    private String gradeStatus;

    /** 请假状态（0未审核 1通过 2不通过） */
    @Excel(name = "请假状态", readConverterExp = "0=未审核,1=通过,2=不通过")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 人员出门时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "人员出门时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outDate;

    /** 人员归队时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "人员归队时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date comeDate;

    /** 人员逾期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "人员逾期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beyondDate;

    /** 人员请假信息 */
    private List<ZhmkAsk> zhmkAskList;

    public void setCheckId(Long checkId) 
    {
        this.checkId = checkId;
    }

    public Long getCheckId() 
    {
        return checkId;
    }
    public void setAskId(Long askId) 
    {
        this.askId = askId;
    }

    public Long getAskId() 
    {
        return askId;
    }
    public void setZhmkUserId(Long zhmkUserId) 
    {
        this.zhmkUserId = zhmkUserId;
    }

    public Long getZhmkUserId() 
    {
        return zhmkUserId;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTurnStatus(String turnStatus) 
    {
        this.turnStatus = turnStatus;
    }

    public String getTurnStatus() 
    {
        return turnStatus;
    }
    public void setGradeStatus(String gradeStatus) 
    {
        this.gradeStatus = gradeStatus;
    }

    public String getGradeStatus() 
    {
        return gradeStatus;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setOutDate(Date outDate) 
    {
        this.outDate = outDate;
    }

    public Date getOutDate() 
    {
        return outDate;
    }
    public void setComeDate(Date comeDate) 
    {
        this.comeDate = comeDate;
    }

    public Date getComeDate() 
    {
        return comeDate;
    }
    public void setBeyondDate(Date beyondDate) 
    {
        this.beyondDate = beyondDate;
    }

    public Date getBeyondDate() 
    {
        return beyondDate;
    }

    public List<ZhmkAsk> getZhmkAskList()
    {
        return zhmkAskList;
    }

    public void setZhmkAskList(List<ZhmkAsk> zhmkAskList)
    {
        this.zhmkAskList = zhmkAskList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkId", getCheckId())
            .append("askId", getAskId())
            .append("zhmkUserId", getZhmkUserId())
            .append("reason", getReason())
            .append("userId", getUserId())
            .append("turnStatus", getTurnStatus())
            .append("gradeStatus", getGradeStatus())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("outDate", getOutDate())
            .append("comeDate", getComeDate())
            .append("beyondDate", getBeyondDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("zhmkAskList", getZhmkAskList())
            .toString();
    }
}
